<template>
    <div style="margin-top:50px;">
        <el-steps :active="active" finish-status="success" style=" margin: 0 12px;">
            <el-step title="乘机信息"/>
            <el-step title="支付" />
            <el-step title="完成" />
        </el-steps>
        <router-view v-on:update="update"></router-view>
    </div>
</template>

<script setup>
import { ref } from 'vue';
import{useRouter,useRoute} from "vue-router";

const router = useRouter();
const route = useRoute();

const active=ref(0)

const update = value=>{
    active.value = value;
}

</script>

<style>
</style>